package com.fingard.avatar.website.exception;

import lombok.*;

/**
 * @author 徐一涛
 * @date 2022/4/26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
public class BizException extends RuntimeException{

    private String msg;

    public static BizException of(String msg) {
        return BizException.builder().msg(msg).build();
    }

}
